/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Containerregistry.Model
{

    /// <summary>
    ///  镜像详情数据结构
    /// </summary>
    public class ImageDetail
    {

        ///<summary>
        /// image registry 表示镜像的注册表归属
        ///</summary>
        public string RegistryName{ get; set; }
        ///<summary>
        /// image repository表示镜像的仓库归属
        ///</summary>
        public string RepositoryName{ get; set; }
        ///<summary>
        /// image manifest的sha256摘要
        ///</summary>
        public string ImageDigest{ get; set; }
        ///<summary>
        /// 镜像的Manifest
        ///</summary>
        public string ImageManifest{ get; set; }
        ///<summary>
        /// 当前image被push到repository的时间
        ///</summary>
        public string ImagePushedAt{ get; set; }
        ///<summary>
        /// image在repository中的大小。从Docker 1.9之后的版本, Docker client会压缩镜像层数据再push到V2版本的Docker registry。
        /// docker image命令显示的是解压后的镜像大小，因此会比DescribeImages接口返回的镜像大小会大很多。      
        /// 
        ///</summary>
        public double? ImageSizeMB{ get; set; }
        ///<summary>
        /// 镜像关联的所有Tag
        ///</summary>
        public List<string> ImageTags{ get; set; }
        ///<summary>
        /// 最近pull的时间
        ///</summary>
        public string LastPullAt{ get; set; }
        ///<summary>
        /// 镜像被拉取次数
        ///</summary>
        public int? TotalPullTimes{ get; set; }
    }
}
